﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace ZY.EntityFrameWork.Core.Model.Entity
{
    /// <summary>
    /// 对应数据库字段表的实体类
    /// 可以序列化
    /// </summary>
    [Serializable]
    public class ArvFieldCfg : BaseEntity
    {
        /// <summary>
        /// 字段变量名
        /// </summary>
        [Key]
        public string FieldName { get; set; }

        /// <summary>
        /// 字段显示名
        /// </summary>
        public string FieldShowName { get; set; }

        /// <summary>
        /// 字段是否可用
        /// </summary>
        public Boolean IsFieldUsable { get; set; }

        /// <summary>
        /// 字段是否可见
        /// </summary>
        public Boolean IsFieldVisible { get; set; }

        /// <summary>
        /// 字段是否为查询关键字
        /// </summary>
        public Boolean IsKeyWord { get; set; }
    }
}
